##
## Makefile for libkorasm.a in /home/vanet_c//proj-kw/lib_kor_asm
## 
## Made by charles-edouard vanet
## Login   <vanet_c@epitech.net>
## 
## Started on  Thu Dec  6 11:52:14 2012 charles-edouard vanet
## Last update Sun Dec  9 15:00:43 2012 charles-edouard vanet
##

NAME	= libkorasm.a

SRC	= usage_corewar_asm.c \
	check_char.c \
	epur_fonctions.c

OBJ	= $(SRC:.c=.o)

CFLAGS	= -g

$(NAME):	$(OBJ)
	ar rc $(NAME) $(OBJ)
	ranlib $(NAME)
	cp libkorasm.a ../libkorasm.a
	cp korasm.h ../includes/korasm.h

all:	$(NAME)

clean:
	$(RM) *.o
	$(RM) *#
	$(RM) *~

fclean:	clean
	$(RM) $(NAME)
	$(RM) ../$(NAME)
	$(RM) ../includes/korasm.h

re:	fclean all